package com.aifund.common.dao;

import com.aifund.common.entity.TacticsTransactionCurrency;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TacticsTransactionCurrencyDao extends JpaRepository<TacticsTransactionCurrency,Long> {

    /**
     * 根据交易员策略ID获取所有策略币种
     * @param tacticsId
     * @return
     */
    List<TacticsTransactionCurrency> getAllByTacticsId(Long tacticsId);

}
